package cn.gene.timeyan.pojo.ums.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户被关注信息*
 *
 * @author LWG
 * @date 2022/8/3 14:03
 * @since 1.0.0 @gene.cn
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ums_befollow")
public class Befollow implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "follow_id", type = IdType.AUTO)
    private Long followId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 关注用户ID
     */
    private Long followUserId;

    /**
     * 关系状态(0被关注、1双向关注)
     */
    private String followState;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}

